package com.rerun.common.email.bean;

import java.io.Serializable;

/**
 * The type Email.
 *
 * @author dax.
 * @version v1.0
 * @since 2017 /10/9 16:42
 */
public class Email implements Serializable{
    private static final long serialVersionUID = 4462612478605547255L;


    /** 收件人 **/
    private String toAddress;

    /** 邮件主题 **/
    private String subject;

    /** 邮件内容 **/
    private String content;

    /**
     * Gets to address.
     *
     * @return the to address
     */
    public String getToAddress() {
        return toAddress;
    }

    /**
     * Sets to address.
     *
     * @param toAddress the to address
     */
    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }

    /**
     * Gets subject.
     *
     * @return the subject
     */
    public String getSubject() {
        return subject;
    }

    /**
     * Sets subject.
     *
     * @param subject the subject
     */
    public void setSubject(String subject) {
        this.subject = subject;
    }

    /**
     * Gets content.
     *
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * Sets content.
     *
     * @param content the content
     */
    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "{" +
                "toAddress:" + toAddress +
                ", subject:" + subject +
                ", content:" + content +
                '}';
    }
}
